import bb.cascades 1.2

Container {
    property alias title: titleText.text
    property alias isloading: indicator.running
    
    verticalAlignment: VerticalAlignment.Center
    horizontalAlignment: HorizontalAlignment.Center
    layout: StackLayout {
        orientation: LayoutOrientation.LeftToRight
    }
    
    ActivityIndicator {
        id: indicator
        visible: running
    }
    
    Label {
        id: titleText
        textStyle {
            color: Color.create ("#777777")
            fontSize: FontSize.PointValue
            fontSizeValue: 7
        }
    }
}
